Skip to content

test: wait for the import scan before checking Eject - #26

Merged
nodemode-ai merged 1 commit into
mainfrom
fix/window-eject-wait
Nov 30, 2026
Merged

nodemode-ai merged 1 commit into
mainfrom
fix/window-eject-wait

Conversation

@gbarnai

@gbarnai gbarnai commented Nov 30, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • The removable-drive window test read Eject's visibility as soon as the source row was marked, but Eject is set when the scan answers. The test now waits for the scan's status line, written in the same step.

Tests

  • That test: before 14 of 15, after 15 of 15 idle and 15 of 15 under load; with a 600 ms delay on the scan, old 0 of 5, new 5 of 5.
  • Window suite 12 of 12, twice.

How to ship

Independent of other PRs.

…rive

The import dialog marks the source row as selected before it scans the
folder, and only sets Eject visibility once the scan result is written.
The window test checked Eject right after the row was marked, so it
failed whenever the scan response arrived late. Wait for the scan
status instead.
@gbarnai
gbarnai requested a review from nodemode-ai as a code owner November 30, 2026 22:06
@nodemode-ai
nodemode-ai merged commit c38719f into main Nov 30, 2026
5 checks passed
@nodemode-ai
nodemode-ai deleted the fix/window-eject-wait branch November 30, 2026 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants